package cn.ht.jywrwater.module.ht.convert.waterstation;

import java.util.*;

import cn.ht.jywrwater.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.ht.jywrwater.module.ht.controller.admin.waterstation.vo.*;
import cn.ht.jywrwater.module.ht.dal.dataobject.waterstation.WaterStationDO;

/**
 * 供水站 Convert
 *
 * @author hzx
 */
@Mapper
public interface WaterStationConvert {

    WaterStationConvert INSTANCE = Mappers.getMapper(WaterStationConvert.class);

    WaterStationDO convert(WaterStationCreateReqVO bean);

    WaterStationDO convert(WaterStationUpdateReqVO bean);

    WaterStationRespVO convert(WaterStationDO bean);
    WaterStationGeoRespVO convertGeo(WaterStationDO bean);

    List<WaterStationRespVO> convertList(List<WaterStationDO> list);

    PageResult<WaterStationRespVO> convertPage(PageResult<WaterStationDO> page);

    List<WaterStationExcelVO> convertList02(List<WaterStationDO> list);

}
